//
//  ViewController.m
//  UI22  SDWebImage
//
//  Created by 韩旭 on 16/8/12.
//  Copyright © 2016年 lanou. All rights reserved.
//

#import "ViewController.h"

#import "UIImageView+WebCache.h"
@interface ViewController ()
@property (weak, nonatomic) IBOutlet UIImageView *Image;

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self.Image sd_setImageWithURL:[NSURL URLWithString:@"http://image.tianjimedia.com/uploadImages/2012/208/S73XXZ98CTWC.jpg"] placeholderImage:[UIImage new] options:SDWebImageProgressiveDownload completed:^(UIImage *image, NSError *error, SDImageCacheType cacheType, NSURL *imageURL) {
      
        
    }];
    
    
    NSLog(@"%@", NSHomeDirectory());
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
